import httpRequest from '@/utils/httpRequest'
import constant from '../constant'

export function pageList (data) {
  return httpRequest({
    url: constant.DR + '/rule/sceneInfo/page',
    method: 'post',
    data: data
  })
}
export function listScene (data) {
  return httpRequest({
    url: constant.DR + '/rule/sceneInfo/list',
    method: 'post',
    data: data
  })
}

export function saveData (data) {
  return httpRequest({
    url: constant.DR + '/rule/sceneInfo/save',
    method: 'post',
    data: data
  })
}

export function getData (data) {
  return httpRequest({
    url: constant.DR + '/rule/sceneInfo/get',
    method: 'post',
    data: data
  })
}

